package cn.iocoder.yudao.module.resource.controller.admin.timepackage.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.*;

import java.util.*;

import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 时长套餐 Response VO")
@Data
@ExcelIgnoreUnannotated
public class TimePackageRespVO {

    @Schema(description = "套餐id", requiredMode = Schema.RequiredMode.REQUIRED, example = "5044")
    @ExcelProperty("套餐id")
    private String id;

    @Schema(description = "套餐名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "王五")
    @ExcelProperty("套餐名称")
    private String packageName;

    @Schema(description = "时长(毫秒)", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("时长(毫秒)")
    private Long timeMs;

    @Schema(description = "原价（分）", example = "26078")
    @ExcelProperty("原价（分）")
    private Integer originalPrice;

    @Schema(description = "现价（分）", requiredMode = Schema.RequiredMode.REQUIRED, example = "22263")
    @ExcelProperty("现价（分）")
    private Integer currentPrice;

    @Schema(description = "上下架状态：0-下架，1-上架)", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("上下架状态：0-下架，1-上架")
    private Integer listingStatus;

    @Schema(description = "标签")
    @ExcelProperty("标签")
    private String tag;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}